package com.txts.road.app.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.txts.road.app.user.model.entity.UserEntity;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.txts.road.app.user.model.query.UserQuery;
import com.txts.road.app.user.model.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户Mapper接口
 *
 * @author baoyr
 * @since 2025-07-17 10:43
 */
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {

    /**
     * 获取用户分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<UserVO>} 用户分页列表
     */
    Page<UserVO> getUserPage(Page<UserVO> page, UserQuery queryParams);

}
